import { Config, Provide} from "@midwayjs/core";
import { AI } from "./ai.interface";

@Provide('chatGPT')
export default class ChatGPT implements AI {
    @Config('openai')
    config
    chat(prompt: string) {
        throw new Error("Method not implemented.");
    }
    translate(prompt: string, from: string, to: string) {
        throw new Error("Method not implemented.");
    }
    summary(prompt: string) {
        throw new Error("Method not implemented.");
    }
    tranning() {
        throw new Error("Method not implemented.");
    }
}